package com.ruoyi.performance.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 红娘业绩对象 tb_matchmaker_performance
 * 
 * @author ruoyi
 * @date 2025-07-31
 */
public class TbMatchmakerPerformance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 业绩ID */
    private Long performanceId;

    /** 红娘ID */
    @Excel(name = "红娘ID")
    private Long matchmakerId;

    /** 年份 */
    @Excel(name = "年份")
    private Long year;

    /** 月份 */
    @Excel(name = "月份")
    private Long month;

    /** 接单数量 */
    @Excel(name = "接单数量")
    private Long requestCount;

    /** 安排约会数量 */
    @Excel(name = "安排约会数量")
    private Long arrangementCount;

    /** 成功牵线数量 */
    @Excel(name = "成功牵线数量")
    private Long successCount;

    /** 满意度平均分 */
    @Excel(name = "满意度平均分")
    private BigDecimal satisfactionAvg;

    /** 佣金金额 */
    @Excel(name = "佣金金额")
    private BigDecimal commissionAmount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setPerformanceId(Long performanceId) 
    {
        this.performanceId = performanceId;
    }

    public Long getPerformanceId() 
    {
        return performanceId;
    }

    public void setMatchmakerId(Long matchmakerId) 
    {
        this.matchmakerId = matchmakerId;
    }

    public Long getMatchmakerId() 
    {
        return matchmakerId;
    }

    public void setYear(Long year) 
    {
        this.year = year;
    }

    public Long getYear() 
    {
        return year;
    }

    public void setMonth(Long month) 
    {
        this.month = month;
    }

    public Long getMonth() 
    {
        return month;
    }

    public void setRequestCount(Long requestCount) 
    {
        this.requestCount = requestCount;
    }

    public Long getRequestCount() 
    {
        return requestCount;
    }

    public void setArrangementCount(Long arrangementCount) 
    {
        this.arrangementCount = arrangementCount;
    }

    public Long getArrangementCount() 
    {
        return arrangementCount;
    }

    public void setSuccessCount(Long successCount) 
    {
        this.successCount = successCount;
    }

    public Long getSuccessCount() 
    {
        return successCount;
    }

    public void setSatisfactionAvg(BigDecimal satisfactionAvg) 
    {
        this.satisfactionAvg = satisfactionAvg;
    }

    public BigDecimal getSatisfactionAvg() 
    {
        return satisfactionAvg;
    }

    public void setCommissionAmount(BigDecimal commissionAmount) 
    {
        this.commissionAmount = commissionAmount;
    }

    public BigDecimal getCommissionAmount() 
    {
        return commissionAmount;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("performanceId", getPerformanceId())
            .append("matchmakerId", getMatchmakerId())
            .append("year", getYear())
            .append("month", getMonth())
            .append("requestCount", getRequestCount())
            .append("arrangementCount", getArrangementCount())
            .append("successCount", getSuccessCount())
            .append("satisfactionAvg", getSatisfactionAvg())
            .append("commissionAmount", getCommissionAmount())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
